import redi_utils as utils

def load(dataset_id, filename, config, options):
    print "Importing samples from " + filename + " to " + dataset_id

    itemid = options.id
    if itemid is None: itemid = utils.get_filename(filename)

    schema = []

    return { "id":itemid, "type": "samples", "table": "SAMPLES_" + itemid, "graph": "SAMPLES_" + itemid, "schema": schema}
